﻿package mortal.game.view.guildWar
{
    import com.mui.controls.*;
    import mortal.game.view.common.*;
    import mortal.game.view.common.display.*;

    public class GuildWarResultCellNew extends GSprite
    {
        protected var _bg:GImageBitmap;
        protected var _numText:BitmapNumberText;

        public function GuildWarResultCellNew()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._bg = UIFactory.gImageBitmap("", 0, 0, this);
            this._numText = UIFactory.bitmapNumberText(85, 2, "DefensePass2Num.png", 12, 22, 0, this, 14, 0);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this._bg.dispose(param1);
            this._bg = null;
            this._numText.dispose(param1);
            this._numText = null;
            super.disposeImpl(param1);
            return;
        }// end function

        public function updateData(param1:String, param2:String) : void
        {
            this._bg.imgUrl = param1;
            this._numText.text = param2;
            return;
        }// end function

    }
}
